﻿using System;
namespace Kis.Xroad.Eu {
    
    
    [System.SerializableAttribute()]
    public partial class InlineComplexType {
        
        private InlineComplexType.DepartmentType @__department;
        
        public InlineComplexType() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public InlineComplexType(InlineComplexType.DepartmentType @department) {
            this.@__department = @department;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected InlineComplexType(InlineComplexType @inlineComplexType) {
            this.@__department = @inlineComplexType.Department;
        }
        
        public virtual InlineComplexType.DepartmentType Department {
            get {
                return this.@__department;
            }
            set {
                this.@__department = value;
            }
        }
        
        [System.SerializableAttribute()]
        public partial class DepartmentType {
            
            private string @__country;
            
            private int @__floor;
            
            public DepartmentType() {
            }
            
            /// <summary>
            /// All parameters
            /// </summary>
            public DepartmentType(string @country, int @floor) {
                this.@__country = @country;
                this.@__floor = @floor;
            }
            
            /// <summary>
            /// Copy Constructor
            /// </summary>
            protected DepartmentType(DepartmentType @departmentType) {
                this.@__country = @departmentType.Country;
                this.@__floor = @departmentType.Floor;
            }
            
            public virtual string Country {
                get {
                    return this.@__country;
                }
                set {
                    this.@__country = value;
                }
            }
            
            public virtual int Floor {
                get {
                    return this.@__floor;
                }
                set {
                    this.@__floor = value;
                }
            }
        }
    }
}
